package com.itsu.service;

import com.github.pagehelper.PageInfo;
import com.itsu.domain.Question;
import com.itsu.domain.User;

import javax.servlet.ServletOutputStream;
import java.util.List;

public interface QuestionService {

    void save(Question question);

    void delete(Question question);

    void update(Question question);

    Question findById(String id);

    List<Question> findAll();

    PageInfo<Question> findAll(int pageNum, int pageSize);

    void downLoadExcel(ServletOutputStream outputStream, String realPath);
}
